<?php
/**
 * 数据层基类
 */
class framework_base_model {

	protected $_name = "";
	//table name

	public static function DB() {
		$pdo = framework_base_pdomysql::connect();
		return $pdo;
	}

	public static function getDB() {
		$pdo = framework_base_pdomysql::connect();
		return $pdo -> dbh;
	}

}
